package com.iespring.config.shiro;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * malltoken
 * 增加type字段用于授权和认证时区别后台和微信端
 * @author xD
 * @since 2022/12/28 19:24
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MallToken extends UsernamePasswordToken {

    String type;

    public MallToken(String username, String password, String type) {
        super(username, password);
        this.type = type;
    }
}
